package com.barunlab.ems.model;

import java.io.Serializable;

import com.barunlab.ems.constants.EmsEventType;

public class EmsEvent implements Serializable {
	private static final long serialVersionUID = 3180849726576767999L;
	
	private EmsEventType eventType;
	private Object[] eventParams;
	
	public EmsEvent(EmsEventType eventType) {
		this(eventType, null);
	}
	
	public EmsEvent(EmsEventType eventType, Object[] eventParams) {
		this.eventType 		= eventType;
		this.eventParams 	= eventParams;
	}
	
	public EmsEventType getEventType() {
		return eventType;
	}
	
	public Object[] getEventParams() {
		return eventParams;
	}
}
